import request from '@/utils/request'

// 补充物流信息
export function getSupplementOrder(query) {
  return request({
    url: '/order/purchase/sellerOrder/getSupplementOrder',
    method: 'get',
    params: query
  })
}

// 补充物流信息
export function uploadLogisticsProof(query) {
  return request({
    url: '/purchase/sellerOrder/uploadLogisticsProof',
    method: 'post',
    data: query
  })
}

// 补充购买凭证
export function uploadPurchaseProof(query) {
  return request({
    url: '/purchase/sellerOrder/uploadPurchaseProof',
    method: 'post',
    data: query
  })
}

// 查看已上传的物流凭证
export function getLogisticsProof(query) {
  return request({
    url: '/purchase/sellerOrder/getLogisticsProof',
    method: 'get',
    params: query
  })
}

// 查看已上传的采购信息
export function getPurchaseProof(query) {
  return request({
    url: '/purchase/sellerOrder/getPurchaseProof',
    method: 'get',
    params: query
  })
}

// 商品销售统计列表
export function collectProductSalesStatistics(query) {
  return request({
    url: '/gather/collectProduct/collectProductSalesStatistics',
    method: 'get',
    params: query
  })
}
